package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import www.woniuxy.com.class112.entity.WorkUserImage;
import www.woniuxy.com.class112.entity.WorkUserImageExample;

public interface WorkUserImageMapper {
    long countByExample(WorkUserImageExample example);

    int deleteByExample(WorkUserImageExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WorkUserImage record);

    int insertSelective(WorkUserImage record);

    List<WorkUserImage> selectByExample(WorkUserImageExample example);

    WorkUserImage selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WorkUserImage record, @Param("example") WorkUserImageExample example);

    int updateByExample(@Param("record") WorkUserImage record, @Param("example") WorkUserImageExample example);

    int updateByPrimaryKeySelective(WorkUserImage record);

    int updateByPrimaryKey(WorkUserImage record);
    @Select("select * from work_user_image where issue_id=#{id}")
    List<WorkUserImage> selectByWorkId(Long id);
    @Select("select user_image from work_user_image where issue_id=#{id}")
    List<String> selectByissueId(Long id);
}